/**
 * 
 */
package com.zuipin.vo;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

/** 
 * @ClassName: RedPacketVo 
 * @author wuyicheng
 * @time 2017年6月21日下午7:01:06 
 */
public class RedPacketVo {
	private BigDecimal			subAmount;								// 红包金额
	private String				name;									// 红包名
	private BigDecimal			discount;								// 折扣
	private String				remark;									// 备注
	private Long				id;										// 红包ID
	private String				deadline;								// 过期时间
	private String				type;									// 红包类型
	private BigDecimal			fullAmount;								// 满多少可用
	private Short				isCanUse;								// 是否可用（0.不可用 1.可用）
	
	// 类型 1现金 2免邮 3订单折扣 4单品折扣
	public final static String	TYPE_CASH_1					= "1";
	public final static String	TYPE_FREE_POSTAGE_2			= "2";
	public final static String	TYPE_ORDER_DISCOUNT_3		= "3";
	public final static String	TYPE_SINGLE_PRO_DISCOUNT_4	= "4";
	/**
	 *  是否可用（0.不可用 1.可用）
	 */
	public final static Short	IS_CAN_USE_YES_1			= (short) 1;
	public final static Short	IS_CAN_USE_NO_0				= (short) 0;
	
	@ApiModelProperty(value = "红包金额")
	public BigDecimal getSubAmount() {
		return subAmount;
	}
	
	public void setSubAmount(BigDecimal subAmount) {
		this.subAmount = subAmount;
	}
	
	@ApiModelProperty(value = "红包名")
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	@ApiModelProperty(value = "折扣")
	public BigDecimal getDiscount() {
		return discount;
	}
	
	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
	
	@ApiModelProperty(value = "备注")
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@ApiModelProperty(value = "红包ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "过期时间")
	public String getDeadline() {
		return deadline;
	}
	
	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}
	
	@ApiModelProperty(value = "类型1现金2免邮3打折")
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	@ApiModelProperty(value = "满多少可用")
	public BigDecimal getFullAmount() {
		return fullAmount;
	}
	
	public void setFullAmount(BigDecimal fullAmount) {
		this.fullAmount = fullAmount;
	}
	
	@ApiModelProperty(value = "是否可用（0.不可用 1.可用）")
	public Short getIsCanUse() {
		return isCanUse;
	}
	
	public void setIsCanUse(Short isCanUse) {
		this.isCanUse = isCanUse;
	}
	
	// "subAmount":50,
	// "name":"399-50元抢鲜券",
	// "discount":null,
	// "remark":null,
	// "id":5717091,
	// "deadline":"2017-07-14 23:59:59",
	// "type":"1",
	// "fullAmount":399
}
